import Vue from 'vue';
import App from './App.vue';
import router from '@/route';
import store from '@/store';
import '@/permission';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import '@/plugins/aloneModule/zTreeStyle.css';
import axios from 'axios';
import VueAxios from 'vue-axios';
import './assets/scss/index.scss';
// import _ from 'lodash';
import localforage from 'localforage/dist/localforage.js';
import $ from 'jquery';
import '@/plugins/jquery.ztree.all.min.js';
Vue.prototype.$ = $;
Vue.prototype.bus = new Vue();
Vue.prototype.localforage = localforage;
// Vue.prototype._ = _;
Vue.use(VueAxios, axios);
Vue.config.productionTip = false;
Vue.use(ElementUI);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app');
